Skip to content

fix: replace mislav action with shell script for tap updates#8

Merged
K1-R1 merged 1 commit intomainfrom
fix/tap-update
Mar 15, 2026
Merged

fix: replace mislav action with shell script for tap updates#8
K1-R1 merged 1 commit intomainfrom
fix/tap-update

Conversation

@K1-R1
Copy link
Owner

@K1-R1 K1-R1 commented Mar 15, 2026

mislav/bump-homebrew-formula-action v3.6 returns 403 when using fine-grained PATs because it uses the GitHub REST API to create refs, which handles fine-grained PATs differently from classic PATs.

Replaces it with a shell script that clones the tap, patches the URL and SHA256 in the formula, and pushes directly via HTTPS — which works correctly with fine-grained PATs. Also removes the Node.js 20 runtime dependency.

mislav/bump-homebrew-formula-action v3.6 uses the GitHub REST API to
create refs, which returns 403 with fine-grained PATs. A direct git
push via HTTPS (x-access-token) works correctly and is simpler.

Also removes the Node.js 20 runtime dependency that was due for
deprecation in June 2026.

Signed-off-by: K1-R1 <77465250+K1-R1@users.noreply.github.com>
@K1-R1 K1-R1 marked this pull request as ready for review March 15, 2026 19:24
@K1-R1 K1-R1 merged commit ac1a20b into main Mar 15, 2026
6 checks passed
@K1-R1 K1-R1 deleted the fix/tap-update branch March 15, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant